package facadePattern;

//外观类
public class Facade {
    private SystemA systemA;
    private SystemB systemB;
    private SystemC systemC;

    public Facade() {
        systemA = new SystemA();
        systemB = new SystemB();
        systemC = new SystemC();
    }

    public void methodA() {
        systemA.getInfo();
        systemB.getInfo();
        systemC.getInfo();
    }

    public void methodB() {
        systemC.getInfo();
        systemB.getInfo();
        systemA.getInfo();

    }


}
